"use strict";

/** @type {import('sequelize-cli').Migration} */
module.exports = {
  async up(queryInterface, Sequelize) {
    await queryInterface.bulkInsert(
      "Articles",
      [
        {
          title: "四川的特色是啥",
          content: '大熊猫啊',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          title: "重庆的特色是啥",
          content: '火锅啊',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          title: "武汉的特色是啥",
          content: '热干面啊',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
      ],
      {}
    );
  },

  async down(queryInterface, Sequelize) {
    await queryInterface.bulkDelete("Articles", null, {});
  },
};
